package com.zline.foodraise.entity;

/**
 * Created by heshantao on 15/7/22.
 * 商品属性
 */
public class ProductAttrBean {
    //打包费
    double packCost;
    //计划库存
    int planStock;
    //商品单价
    double price;
    //商品属性Id
    long productAttrId;
    //商品Id
    long productId;
    //商品规格
    String specification;
    //实际库存
    int stock;

    public ProductAttrBean() {
    }

    public ProductAttrBean(double packCost, int planStock, double price,
                           long productAttrId, long productId,
                           String specification, int stock) {
        this.packCost = packCost;
        this.planStock = planStock;
        this.price = price;
        this.productAttrId = productAttrId;
        this.productId = productId;
        this.specification = specification;
        this.stock = stock;
    }

    public double getPackCost() {
        return packCost;
    }

    public void setPackCost(double packCost) {
        this.packCost = packCost;
    }

    public int getPlanStock() {
        return planStock;
    }

    public void setPlanStock(int planStock) {
        this.planStock = planStock;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public long getProductAttrId() {
        return productAttrId;
    }

    public void setProductAttrId(long productAttrId) {
        this.productAttrId = productAttrId;
    }

    public long getProductId() {
        return productId;
    }

    public void setProductId(long productId) {
        this.productId = productId;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }
}
